package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



@Data
@NoArgsConstructor
@TableName("yxcsc_client_filed_service")
//@EqualsAndHashCode(callSuper = true)
public class YxcscClientFiledServiceEntity   implements Serializable
{
    private static final long serialVersionUID = 91695293143695L;
    /**
    *会话ID
    */
    @TableId(value = "session_id",type = IdType.UUID)
    @ApiModelProperty(value = "会话ID")
    private String Id;
    
    /**
    *处理次数
    */
    @TableField("access_number")
    @ApiModelProperty(value = "处理次数")
    private Integer accessNumber;
    /**
    *渠道编码
    */
    @TableField("channel_code")
    @ApiModelProperty(value = "渠道编码")
    private String channelCode;
    /**
    *渠道Id
    */
    @TableField("channel_id")
    @ApiModelProperty(value = "渠道Id")
    private Integer channelId;
    /**
    *客服头像
    */
    @TableField("coust_avatar")
    @ApiModelProperty(value = "客服头像")
    private String coustAvatar;
    
    /**
    *客服ID
    */
    @TableField("coust_id")
    @ApiModelProperty(value = "客服ID")
    private Long coustId;
    /**
    *客服名称
    */
    @TableField("coust_name")
    @ApiModelProperty(value = "客服名称")
    private String coustName;
    
    /*
    *客服电话
    */
    @TableField("coust_mobile_phone")
    @ApiModelProperty(value = "客服电话")
    private String coustMobilePhone;    
    
    /**
    *创建时间，时间戳
    */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间，时间戳")
    private Long createTime;
    /**
    *当前处理节点ID
    */
    @TableField("current_access_id")
    @ApiModelProperty(value = "当前处理节点ID")
    private String currentAccessId;
    /**
    *入口编码
    */
    @TableField("entry_code")
    @ApiModelProperty(value = "入口编码")
    private String entryCode;
    /**
    *入口Id
    */
    @TableField("entry_id")
    @ApiModelProperty(value = "入口Id")
    private Integer entryId;
    /**
    *客户评价分数
    */
    @TableField("evaluate")
    @ApiModelProperty(value = "客户评价分数")
    private Integer evaluate;
    /**
    *客服评价详情
    */
    @TableField("evaluate_detail")
    @ApiModelProperty(value = "客服评价详情")
    private String evaluateDetail;
    /**
    *群Id
    */
    @ApiModelProperty(value = "群Id")
    private String flockId;    
    /**
    *订单Id
    */
    @TableField("order_id")
    @ApiModelProperty(value = "订单Id")
    private String orderId;
    /**
    *订单状态
    */
    @TableField("order_state")
    @ApiModelProperty(value = "订单状态")
    private String orderState;
    /**
    *端口ID
    */
    @TableField("port_code")
    @ApiModelProperty(value = "端口ID")
    private String portCode;
    /**
    *端口Id
    */
    @TableField("port_id")
    @ApiModelProperty(value = "端口Id")
    private Integer portId;
    /**
    *产品Id
    */
    @TableField("product_id")
    @ApiModelProperty(value = "产品Id")
    private String productId;
    /**
    *产品分类
    */
    @TableField("product_type")
    @ApiModelProperty(value = "产品分类")
    private String productType;
    /*
    *适配到的分流类型:0基础分流,1正常分流
    */
    @TableField("rule_type")
    @ApiModelProperty(value = "适配到的分流类型:0基础分流,1正常分流")
    private Integer ruleType;    
    /**
    *服务类型,取值:咨询(consulting),投诉(complaint)
    */
    @TableField("service_type")
    @ApiModelProperty(value = "服务类型,取值:咨询(consulting),投诉(complaint)")
    private String serviceType;

    /*
    *店铺Id
    */
    @TableField("shop_id")
    @ApiModelProperty(value = "店铺Id")
    private String shopId; 
    /**
    *需要展示给客服的信息
    */
    @TableField("show_message")
    @ApiModelProperty(value = "需要展示给客服的信息")
    private String showMessage;
    /**
    *解决状态
    */
    @TableField("solve_state")
    @ApiModelProperty(value = "解决状态")
    private Integer solveState;
    /**
    *解决状态名称
    */
    @TableField("solve_state_name")
    @ApiModelProperty(value = "解决状态名称")
    private String solveStateName;
    /**
    *会话状态:1完成申请,2完成主题订阅,3已有客服处理,4流转,5结束
    */
    @TableField("state")
    @ApiModelProperty(value = "会话状态:1完成申请,2完成主题订阅,3已有客服处理,4流转,5结束")
    private Integer state;
    /**
    *最后修改时间,时间戳
    */
    @TableField("update_time")
    @ApiModelProperty(value = "最后修改时间,时间戳")
    private Long updateTime;
    /**
    *客户ID
    */
    @TableField("client_id")
    @ApiModelProperty(value = "客户ID")
    private String clientId;
    /**
    *客户名称
    */
    @TableField("client_name")
    @ApiModelProperty(value = "客户名称")
    private String clientName;
    /**
    *客户头像
    */
    @TableField("client_avatar")
    @ApiModelProperty(value = "客户头像")
    private String clientAvatar; 
    /*
    *当前工作流Id
    */
    @TableField("workflow_id")
    @ApiModelProperty(value = "当前工作流Id")
    private Long workflowId;
    
    /*
    *渠道名称
    */
    @TableField("channel_name")
    @ApiModelProperty(value = "渠道名称")
    private String channelName;
    /*
    *端口名称
    */
    @TableField("port_name")
    @ApiModelProperty(value = "端口名称")
    private String portName;
    
    /*
    *最后会话发送时间
    */
    @TableField("last_send_time")
    @ApiModelProperty(value = "最后会话发送时间")
    private Long lastSendTime;    
}

